home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
polski_aminet
/
miroslaw_siedlarz
/
bcc
/
readme
< prev
Wrap
Text File
|
1997-06-22
|
2KB
|
70 lines
Short: BCC v3.1 to program MUI/BOOPSI as C++.
Author: cret@cerber.ii.tuniv.szczecin.pl
Uploader: cret@cerber.ii.tuniv.szczecin.pl
Version: 3.1
Type: dev/mui
I wrote this program because of two reasons:
-) to limit boring typing when building up MUI or BOOPSI custom classes,
-) to make a source code more readable.
Although there was a similar program - MUI2C (v1.7), I didn't like its syntax,
way of associating tag values, one class - only one file, and other limitations.
BCC is free of these disadvantages and provides:
-) (NEW!!!) references to the methods and attributes by simple '->' like in
C++. For example:
instead of: SetAttr( win, MUIA_Window_Open, TRUE, TAG_DONE );
type just: win->Open = TRUE;
or instead of: DoMethod( list, MUIM_List_GetEntry, 0, &e );
type: list->GetEntry( 0, &e );
-) handles both MUI and BOOPSI classes
-) very nice syntax (like C++)
-) methods of one class can be placed in many files
-) user doesn't care about tag values, they are calculated from tag names
(hashing)
-) easy handling parameters that are passed to methods
-) <class data> variables accessed as local variables; simple <xx> instead
of data-><xx> (new)
-) very convenient handling of OM_SET and OM_GET
-) extra tags can be easily passed to the super class when OM_NEW is called
-) user can place his stuff in a class' header file
-) both public and private classes can be super classes (new)
-) C and C++ comments are handled
-) also strings are processed correctly (new)
-) in case of syntax error, full information (where and why)
v3.1 (22.6.97)
----
-) major changes in code for attributes. Now, attributes can be even super.
Attribute parameter doesn't need to be ULONG val or ULONG *store. User can
define name and type of these parameters.
-) bug fixed: attribute parameter name for Get and Init was 'val' instead
of 'value'
-) bug fixed: init attributes were parsed before 'obj' was initialized. So
pointer to 'obj' for all init attributes was invalid.
-) '#define value' is no longer used. It caused problems with mui.h.
-) new switch for class 'selfcreate'
-) if there are both method and dispatcher in the same file, function
for method is 'static'.
-) new 'bccopts' gui v1.1